import QtQuick
import QtQuick.Layouts

Window {
    width: 850
    height: 450
    visible: true
    title: "粒子系统效果对比"
    color: "#333333"

    RowLayout {
        anchors.fill: parent
        spacing: 10
        
        EmitterExample {
            Layout.fillHeight: true
            Layout.preferredWidth: parent.width / 2
        }

        Rectangle {
            Layout.fillHeight: true
            width: 2
            color: "gray"
        }

        DiffusionParticleExample {
            Layout.fillHeight: true
            Layout.preferredWidth: parent.width / 2
        }
    }
}
